package com.bwie.service;

import com.bwie.pojo.TbUser;
import com.bwie.utils.R;
import com.bwie.vo.LoginInfoVo;
import com.bwie.vo.PageInfoVo;

/**
 * description:
 *
 * @Author caoshuaifeng
 * @Create 2025/3/3 11:51
 * @Version 1.0
 */
public interface TbUserService {
    R login(LoginInfoVo loginInfoVo);

    R getUserById(Integer userId);

    R getUserList(PageInfoVo pageInfoVo);

    R getSexList();

    R sendCode(String userMobile);

    R phoneLogin(LoginInfoVo loginInfoVo);

    R updateStatus(Integer userId, Integer flag);

    R updateUser(TbUser tbUser);

    R deleteById(Integer userId);
}
